package com.ocom.common.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class SearchMachListDto implements Serializable {
    private static final long serialVersionUID = -8311419545421028023L;
    //单位编号
    private Long comId;
    //设备编号
    private String deviceNo;
    //设备名称
    private String deviceName;
    //区域
    private Long areaId;
    //设备类型
    private Long deviceType;
    private Long deviceVerType;
    private Long deviceId;
    private String areaName;
    private Long deviceMode;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+08")
    private Date endTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date commTime;
    private String appVer;
    @JsonProperty(value = "appVerTab")
    private String appVerTab;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date createTime;

    private Long status;

    private String faceAuthCode;
    private Integer openType;

    private Integer ifAlarm;
    private Integer alarmTimes;
    private Integer alarmState;

    private Integer updateWhiteInfo = 0;
    private String whiteUrl;
    private Integer whiteUser = 0;
    private Integer whiteFace = 0;
    private Integer whiteErrFace = 0;
}
